
@import 'index';

*{
    margin: 0;
    padding: 0;
}
img{
    width: 100%;
}
a{
    text-decoration: none;
}
/* 手机配件 */
  .box{
      width: 100%;
     background-color: #efefefef;
     >div{
         width: 1190px;
         height: 100px;
         margin: auto;
         span{
             float: left;
             line-height: 100px;
             font-size: 14px;
         }
     }
  }
  main{
      width: 100%;
      overflow: hidden;
      
      background-color: white;   
      .center{
          width: 1190px;
          height: 1;
          margin: auto;
          padding-top: 30px;
          box-sizing: border-box;
          .left{
              width: 400px;
              height: 400px;
              float: left;
          }
          .right{
              width: 636px;
              height: 440px;
            //   background-color: orange;
              float: right;
              .name{
                  width: 644px;
                  height: 55px;
                  padding: 0 20px 10px 0 ;
                  color: #666;
                  font-weight: none;
                  margin-left: 130px;
                  font-size: 24px;
              }
              .price{
                  width: 644px;
                  height: 85px;
                  padding: 20px 0;
                  color: #ca151d;
                  font-size: 37px;
                  box-sizing: border-box;
                  margin-left: 130px;
                  margin-bottom: 20px;
                  background-color: #f4f6fa;
                  .price-a{
                    width: 644px;
                    // height: 85px;  
                    //   padding: 20px 0;
                    //   box-sizing: border-box;
                  }
              }
              .color{
                  width: 644px;
                  height: 268px;
                //   background-color: red;
                  margin-left: 130px;
                  border-top: 2px #ddd dotted;
                  padding:  20px 0;
                  box-sizing: border-box;
                  .a1{
                      width: 644px;
                      height: 50px;
                      margin-bottom: 12px;
                      .a1-c{
                          width: 75px;
                          height: 36px;
                          font-size: 12px;
                          color: #3a3a3a;
                          float: left;
                      }
                      .a1-img{
                          width: 179px;
                          height: 45px;
                          float: left;
                          border: 1px solid #cbcbcb;
                          margin: auto;
                          div{
                              width: 43px;
                              height: 43px;
                              margin: auto;
                          }
                          img{
                              width: 100%;
                             
                          }
                      }
                  }
                  /* 已选商品 */
                  .a2{
                      width: 644px;
                      height: 36px;
                      margin-bottom: 20px;
                      display: flex;
                      span{
                          margin-right: 20px;
                          line-height: 36px;
                          font-size: 12px;
                      }
                  }
                  /* 数量 */
                  .a3{
                      width: 644px;
                      height: 40px;
                      margin-bottom: 20px;
                      display: flex;
                      font-size: 12px;
                      line-height: 40px;
                      div{
                          width: 75px;
                          height: 40;
                      }
                      span{
                          width: 32px;
                          height: 40px;
                          border: 1px solid #c6c6c6;
                          text-align: center;
                          box-sizing: border-box;
                          cursor: pointer;
                      }
                      input{
                          width: 63px;
                          text-align: center;
                      }
                      
                  }
                  /*  购买 */
                  .a4{
                      width: 644px;
                      height: 55px;
                      position: relative;
                     
                       .span1{
                           float: left;
                           width: 233px;
                           height: 53px;
                           margin-right: 10px;
                           background-color: red;
                           text-align: center;
                           line-height: 53px;
                       }
                       .span2{
                        float: left;
                        width: 233px;
                        height: 53px;
                        margin-right: 10px;
                        border: 1px solid #ca151d;
                        color: #ca151d;
                        text-align: center;
                        line-height: 53px;
                        cursor: pointer;
                       }
                       .join-cart{
                           display: none;
                           width: 200px;
                           height: 115px;
                          
                           position: absolute;
                           top: 53px;
                           left: 245px;
                           font-size: 12px;
                           overflow: hidden;
                           .q1{
                               width:100%;
                               height: 30px;
                              padding: 0px 20px;
                              background-color: #efefef;
                              line-height: 30px;
                              box-sizing: border-box;
                              span{
                                  display: inline;
                                  float: right;
                                  font-size: 14px;
                                  cursor: pointer;
                              }
                              
                           }
                           .q2{
                            width: 100%;
                            height: 20px;
                            text-align: center;
                            background-color: white;
                            margin-top: 15px;
                        }
                        .q3{
                           
                            span{
                                width: 100px;
                                float: left;
                                text-align: center;

                            }
                            .s1{
                                width: 50px;
                                height:30px;
                                text-align: center;
                                line-height: 30px;
                                margin-left: 20px;
                                margin-top: 10px;
                                cursor: pointer;
                            }
                            .s2{
                                width: 70px;
                                height: 30px;
                                text-align: center;
                                line-height: 30px;
                                margin-left: 20px;
                                margin-top: 10px;
                                background-color: orange;
                                color: white;
                                cursor: pointer;

                            }
                        }
                       }
                      
                        // #span{
                        //     width: 223px;
                        //     height: 53px;
                        //     text-align: center;
                        //     line-height: 53px;
                        //     float: left;
                        //     margin-right: 10px;
                        // }
                        // .span1 span{
                        //     width: 223px;
                        //     height: 53px;
                        //     background-color: #ca151d;
                        //     margin-right: 32px;
                        //     float: left;
                            
                        //     >a{
                        //         display: block  ;
                        //         color: white;
                              
                        //         background-color: red;
                        //     }
                           
                        // }
                        // .span2{
                        //     width: 223px;
                        //     height: 53px;
                        //     background-color: red;
                        //     float: right;
                        // }
                      
                  }

              }

          }
          .tab{
            //   width: 1190px;
            //   height: 3231px;
            //   background-color: red;
            border: 1px solid #eee;

              float: left;
              margin-top: 60px;
              .ul{
                  width: 1190px;
                  height: 52px;
                  border: 1px solid #eee;
                  li{
                      width: 200px;
                      height: 52px;
                      float: left;
                      padding:0px 20px;
                      list-style: none;
                      text-align: center;
                      line-height: 52px;
                    //   border-top:red 2px solid ;
                }
                   }
                   .content{
                      
                       list-style-type: none;
                      #content1{
                           display: block;
                           
                       
                           /*  产品介绍*/
                           #detailed .code{ 
                               width: 1190px;
                               height: 38px;
                               padding: 0 20px 10px ;
                               display: flex;
                               font-size: 12px;
                               .p1{
                                   width: 378px;
                                   height: 18px;
                                   float: left;
                                   padding-top: 10px;
                               }
                               .p2{
                                   width: 378px;
                                   height: 18px;
                                   float: left;
                                   padding-top: 10px;
       
                               }
                           }
                           .product{
                               width: 1148px;
                               height: 36px;
                               padding-left: 40px;
                               font-size: 14px;
                           }
                           /* 大图 */
                           .max-img{
                               width: 1188px;
                               height: 3055px;
                               padding: 10 0px;
                                .max-img1{
                                   width: 1180px;
                                   height: 3055px;
                                   border: 1px solid #eee;
                                   overflow: hidden;
                                   // >div{
                                   //     width: 790px;
                                   //     height: 1500px;
                                   // }
                               }
                               img{
                                   width: 790px;
                                   height: 1500px;
                                   margin: 0 188px;
                                   vertical-align:middle
                               }
                           }
                       }
                       #content2{
                           display: none;
                            #parameter table{
                                width: 1187px;
                                // height: 168px;
                                border-collapse:collapse;
                                font-size: 12px;
                                border: 1px solid rgba(238, 238, 238, 0.911);
                               
        
                                td{
                                    border: 1px solid #eee;
                                    height: 23px;
                                    padding-left: 3px;
                                }
                                .td{
                                    background-color: #f5fcfe;
                                    text-align: end;
                                }
                            }
                       }
                       #content3{
                           display: none;
                          /* 商品咨询 */  
                            #consult ul{
                                width: 1168px;
                                height: 300px;
                                margin: auto;
                                border: none;
                                position: relative;
                                /* 隐藏———————————————— */
                                // display: none;
                                display: flex;
                                li{
                                    width: 115px;
                                    height: 38px;
                                    padding: 10px 20px;
                                    font-size: 12px;
                                    color: black;
                                    list-style: none;
                                   
                                }
                                .publish{
                                    width: 1168px;
                                    height: 50px;
                                    position: absolute;
                                    top:60px ;
                                    .p3{
                                        height: 24px;
                                        margin-bottom:20px ;
                                        font-size: 16px;
                                    }
                                    .p4{
                                        font-size: 12px;
                                        color: #6f6f6f;
                                    }
                                
                                }
                            }
                       }
                   }
                  
                   
             
          }

      }
  }
//   footer{
//       width: 100%;
//       height: 200px;
//       background-color: orange;
//   }